Delete Saved Password
Saved Passwords
Delete Saved Password
DELETE
Delete Saved Password
Deletes a saved password. Users can only delete their own passwords.
Endpoint
Authentication
Bearer token for authentication. User must be logged in.
Path Parameters
The unique identifier (primary key) of the saved password to delete.
Request
This endpoint does not require a request body.Response
Success Response
204 No Content
Error Responses
Authorization
Users can only delete passwords they own. The endpoint automatically filters by the authenticated user, ensuring users cannot delete other users’ passwords. If a user attempts to delete a password that:- Does not exist, or
- Belongs to another user
Example Request
Implementation Details
This endpoint is implemented inviews.py:108 using the delete_saved_password view function. It retrieves the password instance filtered by both the primary key and the authenticated user, then deletes it from the database.